//
//  HBTableViewHeaderView.h
//  FMSManager
//
//  Created by hongbao.cui on 15-1-8.
//  Copyright (c) 2015年 hongbao.cui. All rights reserved.
//

#import <UIKit/UIKit.h>

@class HBTableViewHeaderView;
//typedef HeaderViewSimpleBlock(^SimpleBlock)(simpelBlock);
typedef void(^HeaderViewSimpleBlock)(HBTableViewHeaderView  *headerView);
@protocol HBTableViewHeaderViewDelegate <NSObject>
- (void)HBTableViewHeaderView:(HBTableViewHeaderView *)headerView webViewDidFinishLoad:(UIWebView *)webView;
@end
@interface HBTableViewHeaderView : UIView<UIWebViewDelegate,UIGestureRecognizerDelegate>{

}
@property(nonatomic,strong)UIWebView *titleWebView;
@property(nonatomic,strong)UIImageView *bgImageView;
@property(nonatomic,strong)UIImageView *lineImageView;
@property(nonatomic,strong)UIButton *answerBtn;
@property(nonatomic,strong)UILabel *typeLabel;
@property(nonatomic,copy)HeaderViewSimpleBlock simpleBlock;
@property(nonatomic,weak)id<HBTableViewHeaderViewDelegate>delegate;
@property(nonatomic)NSInteger sectionIndex;
@property(nonatomic)BOOL isHeaderView;
-(void)setDataReload:(NSDictionary *)dict WithQuestionCount:(NSInteger)count;
@end

@interface  HBUIImageView:UIView<UIScrollViewDelegate>{
    BOOL tapped;
    CGFloat imageHWScale;
    CGFloat beganScale;
}
@property (strong, nonatomic)UIScrollView *scrollView;
@property (strong, nonatomic)UIImageView *imageView;
@property (strong, nonatomic)UITapGestureRecognizer *tapGestureRecognizer;
-(void)setImage:(UIImage *)image;
@end
